package cn.tedu.property_management_system.service;

import cn.tedu.property_management_system.entity.VO.AdministratorVO;
import cn.tedu.property_management_system.entity.dto.AdministratorDTO;
import cn.tedu.property_management_system.entity.dto.AdministratorDTV;
import cn.tedu.property_management_system.utils.JsonPage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

public interface AdministratorService {

    int add(AdministratorDTO administratorDTO);

    int delete(Integer id);

    int deletes(List<AdministratorVO> administratorVOList);

    List<AdministratorVO> getAdministrator();

    List<String> getUserNameList();

    List<String> getAdminTypeList();

    int updateById(AdministratorDTV administratorDTV);

    JsonPage<AdministratorVO> pageSelect(Integer pageSize, Integer pageIndex);
}
